<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>留言申请</h2>
    </div>
    <form action="{:U('save')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">留言人称呼<span class="check-tips">（请填写您的称呼方便我们和你取得联系）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">您的手机号<span class="check-tips">（请认真填写您的手机号方便我们联系）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="mobile" value="">
            </div>
        </div>
		<div class="form-item">
            <label class="item-label">留言类型</label>
            <div class="controls">
                <select name="type">
					<volist name="data" id="vo">
					<option value="{$vo.id}">{$vo.name}</option>
					</volist>
				</select>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">留言标题<span class="check-tips">（请填写您的留言主题）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="title" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">留言详情<span class="check-tips">（请认真填写你的问题）</span></label>
            <div class="controls">
				<label class="textarea input-large">
					<textarea name="content"></textarea>
				</label>				
			</div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>